From 1a7eb737da6a32de2c746ba0a1ca374f52bea768 Mon Sep 17 00:00:00 2001 From: robertl Date: Tue, 16 Sep 2008 03:59:02 +0000 Subject: [PATCH] Let routes honor selected character set in Garmins. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@3493 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/garmin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gpsbabel/garmin.c b/gpsbabel/garmin.c index b387790a8..98269fd7f 100644 --- a/gpsbabel/garmin.c +++ b/gpsbabel/garmin.c @@ -970,8 +970,8 @@ route_waypt_pr(const waypoint *wpt) d = rte->ident; for (s = wpt->shortname; *s; s++) { int c = *s; - if (isalpha(c)) c = toupper(c); - if (strchr(MILITANT_VALID_WAYPT_CHARS, c)) { + if (receiver_must_upper && isalpha(c)) c = toupper(c); + if (strchr(valid_waypt_char, c)) { *d++ = c; } } -- 2.30.2